export interface TreeViewADelegate {
  onGetDatasource: () => TreeViewANode[]
  onClickNode: (node: TreeViewANode) => void
}

export interface TreeViewANode {
  id: number,
  parentId: number,
  subs: TreeViewANode[],
  title: string,
  extra1?: string
  extra2?: string
}